package com.ctsi.ssdc.service;


import com.ctsi.ssdc.domain.UserVo;
import com.ctsi.ssdc.model.PageResult;
import org.springframework.data.domain.Pageable;

import com.ctsi.ssdc.domain.LitemallUser;
import com.ctsi.ssdc.domain.LitemallUserExample;
import com.ctsi.ssdc.service.StrengthenBaseService;

import java.util.List;

/**
 * Service Interface for managing LitemallUser.
 *
 * @author ctsi-biyi-generator
 *
 */
public interface LitemallUserService 
	extends StrengthenBaseService<LitemallUser, Integer, LitemallUserExample>{


    /**
    * GET  /litemallUsers : get the litemallUsers firstStringBaseColumn.
    */
    PageResult<LitemallUser> findFirstStringColumn(String username ,Pageable pageable);

    List<LitemallUser> queryByUsername(String username);

    int updateById(LitemallUser user);

    LitemallUser queryByOid(String openId);

    void add(LitemallUser user);

    List<LitemallUser> queryByMobile(String mobile);

    List<LitemallUser> queryByOpenid(String openId);

    LitemallUser findById(Integer userId);

    UserVo findUserVoById(Integer creatorUserId);
}
